<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>Page Title</title>
		<style>
			.father {
				width: 500px;
				height: 100px;
				background-color: red;
				display: flex;
				flex-flow: row;
			}

			.box1 {
				flex: 3;
				background: blue;

			}

			.box2 {
				flex: 2;
				background: pink;
			}
		</style>
	</head>
	<body>
		<div class="father">
			<div class="box1"></div>
			<div class="box2"></div>
		</div>
	</body>
</html>
